package com.zuoban.entity.sys;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigInteger;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "sys_log")
public class SysLog {

    private BigInteger id;

    private BigInteger userId;

    private String info;

    private Date createTime;

    private String ip;

    private String address;

    public SysLog(BigInteger userId, String info) {
        this.userId = userId;
        this.info = info;
    }
}
